//
//  NRWCarUser.h
//  New_Runway
//
//  Created by mack on 2018/1/23.
//  Copyright © 2018年 NelsonJ. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NRWCarUser : NSObject<NSCoding>
@property (nonatomic, copy) NSString *accountId;
@property (nonatomic, copy) NSString *accountName;
@property (nonatomic, strong) NSDictionary *accountPropertyMap;
@property (nonatomic, copy) NSString *applicationId;
@property (nonatomic, copy) NSString *marketId;
@property (nonatomic, copy) NSString *marketLogo;
@property (nonatomic, copy) NSString *marketName;
@property (nonatomic, strong) NSArray *resourceList;
@property (nonatomic, strong) NSArray *roleList;
@property (nonatomic, copy) NSString *shopId;
@property (nonatomic, copy) NSString *shopName;
@property (nonatomic, copy) NSString *resourceUrl;
@property (nonatomic, copy) NSString *userId;
@property (nonatomic, copy) NSString *userMobile;
@property (nonatomic, copy) NSString *userName;

@property (nonatomic, copy) NSString *password;
@property (nonatomic, copy) NSString *phoneNum;

- (void)setWithDictionary:(NSDictionary *)dic ;

+(instancetype)sharedUser;
+ (NSString *)archivePath;
-(void)archive;
/** 判断是否登录*/
@property(nonatomic,assign)BOOL didLogin;
+(void)reset;
@end
